home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / include / enlightenment / e_pointer.h < prev    next >
C/C++ Source or Header  |  2006-01-09  |  988b  |  46 lines

  1. /*
  2.  * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
  3.  */
  4. #ifdef E_TYPEDEFS
  5.  
  6. typedef struct _E_Pointer E_Pointer;
  7.  
  8. #else
  9. #ifndef E_POINTER_H
  10. #define E_POINTER_H
  11.  
  12. #define E_POINTER_TYPE 0xE0b01013
  13.  
  14. struct _E_Pointer
  15. {
  16.    E_Object e_obj_inherit;
  17.  
  18.    unsigned char     e_cursor : 1;
  19.    unsigned char     color : 1;
  20.  
  21.    Evas             *evas;
  22.    Evas_Object      *pointer_object;
  23.    Evas_Object      *hot_object;
  24.    int              *pixels;
  25.    Ecore_X_Window    win;
  26.    int               w, h;
  27.  
  28.    char             *type;
  29.    void             *obj;
  30.    Evas_List        *stack;
  31.  
  32.    struct {
  33.       int            x, y;
  34.       unsigned char  update : 1;
  35.    } hot;
  36. };
  37.  
  38. EAPI E_Pointer *e_pointer_window_new(Ecore_X_Window win);
  39. EAPI void       e_pointer_type_push(E_Pointer *p, void *obj, const char *type);
  40. EAPI void       e_pointer_type_pop(E_Pointer *p, void *obj, const char *type);
  41. EAPI void       e_pointers_size_set(int size);
  42. EAPI void       e_pointer_idler_before(void);
  43.  
  44. #endif
  45. #endif
  46.